package com.cn.wanxi.dao;

import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface UserDao {
    int add(UserModel userModel);
    UserModel findByName(String username);
    UserModel findByUsernameAndPassword(UserModel userModel);
    List<UserModel> findAll();
    int del(int id);
    UserModel findUserById(int id);
    int update(UserModel userModel);
}
